import Mock from 'mockjs'
import HomeApi from './mockServeData/home'
import userApi from './mockServeData/user'

Mock.mock(/home\/getData/, HomeApi.getStatisticalData)
Mock.mock(/user\/getUser/, userApi.getUserList)

Mock.mock(/user\/addUser/, 'post', userApi.createUser)
Mock.mock(/user\/editUser/, 'post', userApi.updateUser)
Mock.mock(/user\/delUser/, 'post', userApi.deleteUser)
